import java.util.Scanner;

public class LianXi {
    public static void main(String[] args) {
        int a, b ,c;
        System.out.println("输入任意三个数");
        Scanner scanner = new Scanner(System.in);
        a = scanner.nextInt();
        b = scanner.nextInt();
        c = scanner.nextInt();
        System.out.println("重新排列组合");
        int res = a / 10 * 10 + a % 10 * 100 + b / 10 + b % 10 * 1000 + c / 10 * 10000 + c % 10 * 100000;
        System.out.println(res);
    }
}
